wayland: Fix initial cursor
authorBenjamin Otte <otte@redhat.com>
Wed, 15 Nov 2017 18:05:48 +0000 (19:05 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 15 Nov 2017 18:07:17 +0000 (19:07 +0100)
commite9629a51493926013bd259458460fce02157f66c
treeaa6f0b512f5640999d0607af870c7f710351cde1
parent4c4e914806028fd6dee78f9cd4efed3eb1f32e43
wayland: Fix initial cursor

Make sure the initial cursor isn't random which would happen due to an
early exit when cursor == pointer->cursor triggered because both were
NULL.
gdk/wayland/gdkdevice-wayland.c